home *** CD-ROM | disk | FTP | other *** search
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: Mon, 26 Jul 93 10:45:01 +0200
- Message-Id: <9307260845.AA11790@issan.informatik.uni-dortmund.de>
- To: nox@jelal.north.de
- In-Reply-To: <9307231835.AA00268@jelal.north.de> (message from Juergen Lock on Fri, 23 Jul 93 20:35:44 CES)
- Subject: Re: O_APPEND, file locking...
-
- >>>>> On Fri, 23 Jul 93 20:35:44 CES, Juergen Lock <nox@jelal.north.de> said:
- |> quick question: on what filesystems does O_APPEND (or fopen (.. "a"))
- |> work with > 1 processes writing to the same file? i doubt it does on
- |> GEMDOSfs, but on others? reason i ask is should i put locking code
- |> around simple one-line fprintfs to logfiles.. i would rather not :-)
-
- It works with every filesystem, because MiNT translates it to
- lseek(SEEK_END) + write, atomically.
-
- ----------------------------------------------------------------------
- Andreas Schwab "And now for something
- schwab@ls5.informatik.uni-dortmund.de completely different"
-